In some cases, the kernel is not defined for cross-arch builds.
vmWithDisko
mdadm
config.system.build.installTest