bash prompt: test dirty index and worktree while on an orphan branch