Fixed performance issue when executing IsValidGitDir on an UNC path (now we stop when reaching the root directory (provided by GetVolumePathName), like "\\server\share")