git-gui: Worked around environment variable problems on Windows.