Can't see how placing a card to log the Serial Number then inserting it into a machine would work. Plus in the scale of things, Airport Security have no jurisdiction when it comes to stolen goods.
Are you sure they weren't carrying out a swab test, ie looking for traces of explosives or in some countries drugs as well?