Look in 'cmd' dir for git.exe on Windows

Fixes #587