If `gtr.worktrees.dir` or `GTR_WORKTREES_DIR` are set to `..`, `resolve_base_dir` will detect the worktrees dir "inside" the repo when it's actually not. The culprit seems to be this conditional: ```bash if [[ "$base_dir" == "$repo_root"/* ]]; then ``` where `/*` includes directory entries `.` and `..`