convenient way to check the post-receive hook