Revert "Fix recovery ramdisk creation"

This reverts commit b9b48a3426283cab0d3ef99a5382fc8bda1358ca.