Check if the principial (user) added is a Zope or Plone user. If it's a Zope user, stop further execution. This fixes issues with the commandline adduser command failing due to plone.api. The soluton suggested by plone.api (-O <portal_id>) does not circumvent the problem