[backport-1.7]: MR "fix bug in sbom-operator unit" needs a 1.7.x backport

MR !8396 (merged) needs to be backported to 1.7.x