provision/docker: fix error handling in docker-node-add. fixes #901