Fix coding style - only run begin_sniffer in case of a raw scan.