Fix panic in worktree scanning (#13057)

Release Notes:

- Fixed a panic when worktree paths are incorrectly relative.
993109aee1Conrad Irwin committed on 6/14/2024, 5:23:20 PM· committed by GitHubparent4cb45e6
1 file changedLine totals unavailable