Fix 'KeyError: portal' on iteration view in Plone 4.

https://github.com/zestsoftware/Products.eXtremeManagement/issues/1