This mitigates issue #1813 when used with TGitCache. Signed-off-by: Sven Strickroth <email@cs-ware.de>