Fix one case where git fails on windows and needs "workaround mode"; ...

fix searching for commands on win where no extension is given in command name