providers/docker: fix ordering of removing built images