HAHAHAHA! I'm the same way, if it pops into my head it usually pops out of my mouth! I would have probably said, "Ewwww!" And then bolted.
You did the right thing. You really couldn't have done anything else. Sadly, if you had vocalized your disgust, he could have become confrontational...