updater-script: Fix ramdisk init logic