Fix GetGitUrl to support virtual path