FIX Removed NormalizeGitDirectory
FIX Added null-Check in EscapeValue