Restored support for contents without acquisition chain. See https://github.com/plone/plone.app.z3cform/commit/587e229e267705a4fd48c6c51a76f849196fceba#commitcomment-2630299
minimal pyflakes cleanup