Backed out ill-thought-out reference to the content repository in this kernel package (a misguided attempt to move some bad PG code over to Oracle, which caught the reference to the undefined cr_folders table)
Fix apm_package_instance_delete in Oracle to delete content_folders of the package. Now PostgreSQL and Oracle behave the same way, before the content_folders were only deleted in the PostgreSQL version.