treewide: fix initramfs detection