Fix error reporting bug

There's no "command" variable; it should be "cmd". This bug causes it to print an unhelpful exception if the Docker command fails.
Merge pull request #3654 from mithaler/patch-1

providers/docker: fix Docker error reporting bug