Fix ImportError for plone.directives if Dexterity is not installed