Log error if worktree fails to relativize git repo path (#6693)

This is a follow-up to #6459. It logs the error instead of silently
skipping it.

Release Notes:

- N/A
dd3ec15accThorsten Ball committed on 1/25/2024, 10:27:50 AM· committed by GitHubparents710e479d17d37f
1 file changedLine totals unavailable