Update extract ramdisk setup

Change-Id: I784ec0db4cdbccb40b6120e5c7d7df5500daa6bd