Fixed issue #2281: TGit 1.8.11 is not using %HOME% correctly