Fix panic from unwrapping a relativize() (#6459)

Release Notes:

- Fixed a panic that could occur finding a git repository.
cf3b2ba146Conrad Irwin committed on 1/25/2024, 6:03:41 AM· committed by GitHubparentse77db87320088f
1 file changedLine totals unavailable