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

Signed-off-by: Sven Strickroth <email@cs-ware.de>