GitlabHQ enforces it's own hooks, but it stores them in ~gitlab\gitlab\lib\hooks\
. Adding the following line at the end of the iteration will call our hooks properly.
sudo /srv/virtual_hosts/deploybot.eu/deploy_hook $reponame $oldrev $newrev $GL_USER $ref $pwd