make sure ssh key exists before creating image