fixed PS1 issues with bare git repositories