Did the pilot really avoid security guards, or, did s/he go about their business oblivious to the allegedly positive test?
I know of a pilot who having shot a snake enroute to work to fly, was explosive tested, and x-ray'd.
No explosives detected, nor was the live shotgun cartridge inadvertently left in his pocket.