Use a different approach to solving the ramdisk-image-create failure.

Change-Id: I2861927d1989bde1137c253c8b3a48b245c65f19