Update extract ramdisk setup

Change-Id: I0988b85360e2fde626302667c4f7a7278ef4a6ce