Handle initrd and kernel paths in qemu