Fix ComponentLookupError on views where no IPortletAssignmentMapping can be get.