Fix empty path being shown as an item in the recent projects picker (#53400)

A couple of restore project group/workspaces functions weren't filtering
out project groups with empty paths, leading to an empty being shown in
the recent projects picker. This is the problem this PR solves:

<img width="400" height="1042" alt="Screenshot 2026-04-08 at 11  06@2x"
src="https://github.com/user-attachments/assets/4d96cc53-5b03-445c-968b-8a8edec559da"
/>

Release Notes:

- N/A
de81d61099Danilo Leal committed on 4/8/2026, 5:33:54 PM· committed by GitHubparentc32a7c1
2 files changedLine totals unavailable