Gitlab v4.0 compatibility

Gitlab changed their commit hook in v4.0 - here's the fix.