feat(dx): conditional query by unicode value

depending on whether plone.app.contenttypes is there.