Avoid AttributeError on portal_quickinstaller.