build script: corrected an error leading to build the image without any ramdisk