[tor-commits] [sbws/master] fix: scanner: extract method for not helper case