EZP-22378: Fixed loosy condition when no repository is specified in a SiteAccess