People trying to shake hands in the restroom

I've experienced this before. You run into someone you haven't seen in ages and they instinctively extend a hand. Not at the urinal, but at the sink: you walk into the restroom as they walk towards the sink or door. So you don't know if they even washed their hands.
I used to give these dudes dap instead of shaking hands, since it's the most hygienic alternative. But now I just awkwardly refuse to extend my hand and say "nice to see you but..."