fix condition in post receive hook

This one is a little embarrasing...