OS-2550 'imgadm create -s prepare-image-script' safe image creation

This is imgadm version 2.5.0.