First round request #5694 - Catch all possible errors in git hook

Change-Id: Iaad18f91c10cbd34b9795a1bab4af42f3f51dbfe
Merge commit 'f8a33e9' into HEAD

* commit 'f8a33e9':
  First round request #5694 - Catch all possible errors in git hook
This is Tuleap 6.7.99.39

Change-Id: I50aaf61199ccdb6af584a892fdcf567c5ccd0314