bash_prompt: support both old and new git status output