fix running after_push hook in background on some systems

Sometimes (e.g. on my Centos6 VM) the post-receive hook won't exit if
there is a direct child process runing, so I trick it with a subshell.