Fix project root on cygwin-git.

This patch is related to #264. The new code had removed `msysgitPath` in preference.