ECMS-6012 Intranet homepage become blank in the case shared site doesn't exist

Fix description: If shared site is deleted, js and css of shared site will be empty