Revert "Fix recovery ramdisk creation"

This reverts commit bda69ce97a6b34b4a601eecf8fe9cbf950d6618f.