fix git status checks for prompt to work with the output from both git versions