fix prompt git status detection