Fixed parsing of git status

Fixed parsing of git status for latest git version. New parsing should be more robust.