Adapted commit hook script for Gerrit