Note that this needs to be fixed also on RHEL-9 and older since I made the change for RHEL-10 when adding the image-installer img type. Unfortunately, I didn't get to verify if the package is present on all older RHEL versions.
Consequently, this change means that a bunch of other packages can be removed from the pkg list, and we do not need to list them explicitly (as these are pulled in as anaconda-install-img-deps dependency). Based on my previous work, these are mostly some UI-related dependencies.
Originally posted by @thozza in https://github.com/osbuild/images/issues/1031#issuecomment-2468144903