(It was due to package_id being set to "" in a call to "permission::require_permission". Time now to chase the cause of that ...)