Recent git versions broke bash prompt. Fixed by switching to git status --porcelain