Fix Docker 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.