fixed bug with promptrc throwing errors into the shell from bare
repositories