Merge pull request #4633 from csware/worktree-delereref Fix deletion of unrelated branch on worktree