Issue #835 - Fix issue where extension can't detect repository correctly on cygwin.