Execute pre-receive hook

This patch work in my project.
This shouldn't be necessary - see the way it is done for the other hooks.