hooks: Clean up unused leftover Ruby variables
We nowadays pass along a lot of environment variables to our hooks which aren't used at all anymore. There are remnants of our use of gitlab-shell to implement hooks, which we have since removed. This MR cleans up those environment variables.
Fixes #2679 (closed)