Fix an error getting the initrd location for grub.