Update extract ramdisk setup

Change-Id: Ie05b399a0f47ce5d0fe64f24a782a1cd423f57c8