Upgrade to 5.2 failing with 'IATCTTool' has no attribute '__iro__'

Thanks.
Is this default? Where and how can I add this to profile?

# remove obsolete AT tools
  tools = [
      'portal_languages',
      'portal_tinymce',
      'kupu_library_tool',
      'portal_factory',
      'portal_atct',
      'uid_catalog',
      'archetype_tool',
      'reference_catalog',
      'portal_metadata',
  ]
  for tool in tools:
      try:
          portal.manage_delObjects([tool])
          log.info('Deleted {}'.format(tool))
      except AttributeError:
          log.info('{} not found'.format(tool))

  # reapply uninstall to get rid of IATCTTool component
  try:
      loadMigrationProfile(
          setup,
          'profile-Products.ATContentTypes:uninstall',
      )
  except KeyError:
      pass