git-gui: When calling post-commit hook wrong variable was cleared.