Add feature : https://github.com/jbox-web/redmine_git_hosting/issues/303
Fix wrong calls to HookManager