Add __git_ps1 in prompt only if present.