provision/docker: fix bug in push error checking