Fixing the response

Since the script didn't return a valid response Gitlab kept on calling the hook several times.