Fixed 'prompt_git:13: permission denied:' error when working on a detached head