Only apply registry configuration if Zope's not in debug mode