Fix use of __git_ps1 to cope with interactive rebasing