title: Gitlab-CI not triggering builds on commit
body: <p>Build not triggered since upgrade &amp; migration</p>
  
  <p>Hi, I upgraded to 8.8.3 the dockerized CE installation we have, and then migrated it to a new VM. The process was : docker-compose stop , rsync the docker volumes, docker-compose up -d on new server.</p>
  
  <p>Since that time, when I do push commits, the CI are no more launched (gitlab-ci module), but I can run them manually from the pipelines tab.</p>
  
  <p>When I do a push, I receive a hook error :</p>
  
  <pre><code>[tutu] git push origin  master                                                                                                                                                                                        9:26:07  ☁  master ☂ ✭ 
  Décompte des objets: 6, fait.
  Delta compression using up to 4 threads.
  Compression des objets: 100% (5/5), fait.
  Écriture des objets: 100% (6/6), 528 bytes | 0 bytes/s, fait.
  Total 6 (delta 4), reused 0 (delta 0)
  remote: hooks/post-receive:27: syntax error, unexpected tIDENTIFIER,  expecting keyword_do or '{' or '('
  remote: exec git push --quiet github &amp;
  remote:                             ^
  To ssh://git@git.XXXX:2222/MorningChecks/tutu.git
  </code></pre>
  
  <p>I don't know if this is linked. I don't know if I miss something from new feature usage or something, if this is the case, please apologize. Thank you</p>