Execute pre-receive hook

This patch work in my project.
likewise with stdout - the hook should be responsible of parsing the results