#58215 Investigating P3 comp/tui

Desktop: discovered_repos cache leaks across all profiles

Desktop's filesystem scanner broadcasts all discovered git repos to every profile's database due to a replace=True handler, so switching profiles shows repos belonging to other profiles.