Improve check on portal root to hide breadcrumbs
This refs affinitic #5848