pre-receive custom hook was not handling GL_ID in case of failure

As I had commented earlier, gitlab_access.rb is unsetting the GL_ID envvar in case of failure. This should also be the case of post_receive fails. It's not necessary to do so in the custom  post_receive and update hooks because the gitlab_post_receive.rb unsets it.