git-gui: fix detection of Cygwin