Patch failing because of Datapatch bug [SQL_PATCH=true]

Again I lost too many hours trying to solve an issue I got during upgrade of one 19c non-CDB database and plugging it into 21c CDB. When I execute the noncdb_to_pdb.sql script, I got following error: select cause, type, status, message from pdb_plug_in_violations where name=\'NINJAPDB\'; Non-CDB to PDB ERROR RESOLVED PDB plugged in is a ...