Update extract ramdisk setup

Change-Id: I6936e42adcb0a63f478624bee0aa3b2ec6919b4e