fix(ui): Handle Adoption Stage if project slug invalid (#29227)
* fix(ui): Handle Adoption Stage if project slug invalid
Edge case where project slug isn't valid because of updating the name/slug or deleting the project and not refreshing the page if another tab was opened. Prerviously, this would throw a TypeError and not load the page, so we should still load the page.
FIXES WOR-1388
FIXES JAVASCRIPT-25ND
* refactor: use optional chainging, remove try/catch