When inside a Git worktree, the path to root can be relative, e.g., ../.git/modules/foo. When this happens, the attempt to get the root's parent's parent's parent fails to unwrap at config/model.rs:389, causing a panic. If we canonicalize the path first, this doesn't happen.
When inside a Git worktree, the path to root can be relative, e.g., ../.git/modules/foo. When this happens, the attempt to get the root's parent's parent's parent fails to unwrap at config/model.rs:389, causing a panic. If we canonicalize the path first, this doesn't happen.