Hey everyone, please do not try any hacks or database changes. This seems to be working fine in the newer releases of pulp_rpm (such as 3.14.z), so the proper fix would be either upgrading or backporting the patch to the version used by this older version of Katello.
See @lzap 's answer here: Unable to kickstart Rocky Linux 8 due to .treeinfo - #17 by lzap