Previously, we used the file's 'path' method, which only returns the relative path from the worktree root.