Account for errors in deploy_script.

do not rerun if we hit an error -- we need to revisit this once
we are ready to support more images.