Update extract ramdisk setup

Change-Id: I5bc18a6feb2875557c9290ba5fd1a4454367be28