Resolves: RHEL-49670
Related: RHEL-49670 This reverts commit 140d6fbac9 because it broke "dnf --installroot=... install" on locked OSTree systems.
140d6fbac9