fix post-receive hook