foreman-installer-develop-package-release 1222 failed

foreman-installer package release pipeline failed:

https://ci.theforeman.org/job/foreman-installer-develop-package-release/1222/

Looks like removing the last Katello hook broke things in the build:

cp -r katello /builddir/build/BUILDROOT/foreman-installer-3.4.0-0.2.develop.20220804174217git10a30ba.el8.noarch/usr/share/foreman-installer
rake aborted!
Errno::ENOENT: No such file or directory @ rb_check_realpath_internal - katello
/usr/share/ruby/fileutils.rb:491:in `realpath'
/usr/share/ruby/fileutils.rb:491:in `copy_entry'
/usr/share/ruby/fileutils.rb:468:in `block in cp_r'
/usr/share/ruby/fileutils.rb:1589:in `block in fu_each_src_dest'
/usr/share/ruby/fileutils.rb:1603:in `fu_each_src_dest0'
/usr/share/ruby/fileutils.rb:1587:in `fu_each_src_dest'
/usr/share/ruby/fileutils.rb:467:in `cp_r'
/usr/share/gems/gems/rake-13.0.1/lib/rake/file_utils_ext.rb:35:in `cp_r'
/builddir/build/BUILD/foreman-installer-3.4.0-develop/Rakefile:301:in `block in <top (required)>'
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:281:in `block in execute'
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:281:in `each'
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:281:in `execute'
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:199:in `synchronize'
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:199:in `invoke_with_call_chain'
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:188:in `invoke'
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:160:in `invoke_task'
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:116:in `each'
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:116:in `block in top_level'
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:125:in `run_with_threads'
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:110:in `top_level'
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:83:in `block in run'
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:186:in `standard_exception_handling'
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:80:in `run'
/usr/share/gems/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/usr/bin/rake:23:in `load'
/usr/bin/rake:23:in `<main>'
Tasks: TOP => install

This was:

I’ve submitted PRs to fix this: