git: Fix unwrap in `git2::Index::get_path` (#44059)

Fixes ZED-1VR

Release Notes:

- N/A *or* Added/Fixed/Improved ...
4e8f6ddae9Lukas Wirth committed on 12/3/2025, 11:56:16 AM· committed by GitHubparent0f67f08
1 file changedLine totals unavailable