Fix msbuild task GetGitTagRevision to use environment variable.