make image creation idempotent

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>