Fix test for return value of GetCurrentDirectory() on Windows.
Fix test for return value of GetCurrentDirectory() on Windows.

GetCurrentDirectory() returns zero on error or the length of
the path otherwise.

zhengw1985/Update-Installer,zhengw1985/Update-Installer,zhengw1985/Update-Installer