Revert "Fix recovery ramdisk creation"

This reverts commit fc8ad5ce583e2386bdfca6c5c60765a8670ba875.