test for initrd before trying to patch