I knew that this sounded familiar: This is the same as bug #1199621 (SLE-15-SP4). There was a fix for this: https://github.com/yast/yast-packager/pull/619 But it was declined in IBS (and thus probably never made it to OBS): https://build.suse.de/request/show/272645