LPS-42605 Don't try to get portlets if layout there isn't any