file_finder: Fix history items not using worktree path (#39304)

Closes #39283

Release Notes:

- Fixed: In multi-repo workspaces, files with the same name are no
longer hidden in the file picker after one is opened

---------

Signed-off-by: Marco Mihai Condrache <52580954+marcocondrache@users.noreply.github.com>
3afbe836a1Marco Mihai Condrache committed on 10/2/2025, 4:36:09 PM· committed by GitHubparentd8709f2
2 files changedLine totals unavailable