git prompt: don't show branch name twice

when the working dir is clean, the branch was shown twice