LPS-42605 Don't try to get portlets if layout layout type isn't portlet