Fix to prompt when NO_GIT_PROMPT is set.