fix for lp:1212538: cmd/juju: deploy --to a non existent machine fails too late in the process

https://bugs.launchpad.net/juju-core/+bug/1212538.

There was already a test for the behaviour of deploying to a machine that didn't exist. But it was passing for the wrong reasons.