fix git status prompt for old git version