Fix for session exiting automatically when entering in a bare git repository

This was due to an oversight in git_completion where an exit was called when
finding a bare repository.