They were probably checking to make sure your bike was road-worthy. ie: had tyres with a decent tread, the can was legal, etc etc etc.
When they ask for a PNC check it gives them details of the vehicle, and they can do one on you too - and its not always immediate.