diff --git a/provision/docker/image.go b/provision/docker/image.go
index <HASH>..<HASH> 100644
--- a/provision/docker/image.go
+++ b/provision/docker/image.go
@@ -50,7 +50,10 @@ func migrateImages() error {
 		if nodeErr, ok := err.(cluster.DockerNodeError); ok {
 			baseErr = nodeErr.BaseError()
 		}
-		if err != nil && err != storage.ErrNoSuchImage && baseErr != docker.ErrNoSuchImage {
+		if err != nil {
+			if err == storage.ErrNoSuchImage || baseErr == docker.ErrNoSuchImage {
+				continue
+			}
 			return err
 		}
 		if registry != "" {
provision/docker: if image is not available we shouldnt try to push it