file_finder: Fix project root appearing in file paths while searching when hide_root=true (#51530)

Closes #45135

Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed project root name appearing in file paths while searching in
file finder.
b0fd10134fGiorgi Merebashvili committed on 3/16/2026, 1:27:41 PM· committed by GitHubparent3d7d2ca
2 files changedLine totals unavailable