Katello 3.15 doesn't show available package updates anymore

O.K. I can db:migrate:

API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
== 20200429153103 InstalledPackageBadNvrea: migrating =========================
== 20200429153103 InstalledPackageBadNvrea: migrated (1.0905s) ================

== 20200501155054 InstalledPackageUniqueNvrea: migrating ======================
– change_column(:katello_installed_packages, :nvrea, :string, {:null=>false})
→ 0.0085s
– add_index(“katello_installed_packages”, [:nvrea], {:unique=>true})
→ 0.0334s
– remove_index(“katello_installed_packages”, [:nvra])
→ 0.0064s
== 20200501155054 InstalledPackageUniqueNvrea: migrated (0.0973s) =============

Installed package list was still short after that. Running katello-package-upload -f on a centos 7 content host seems to fix that. For CentOS 8 (no katello-package-upload available) I have (re)installed or updated any package and that seems to update that either.

katello-package-upload -f still causes the exception:

2020-05-29T06:29:04 [E|bac|] invalid argument: nil. (ArgumentError)
/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/relation/spawn_methods.rb:37:in merge' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.15.1.1/app/lib/actions/katello/host/upload_profiles.rb:46:in upload_modules_to_pulp’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.15.1.1/app/lib/actions/katello/host/upload_profiles.rb:70:in import_module_streams' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.15.1.1/app/lib/actions/katello/host/upload_profiles.rb:114:in block in run’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.15.1.1/app/lib/actions/katello/host/upload_profiles.rb:113:in each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.15.1.1/app/lib/actions/katello/host/upload_profiles.rb:113:in run’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.3/lib/dynflow/action.rb:563:in `block (3 levels) in execute_run’

Now it looks good for all content hosts and no updates pending. I’ll see what happens when the next updates appear in the repositories. At the moment it looks good.