Fix deploying when a container is not running.

If a previous deploy failed to leave a container running, further
deploys will fail.  This is due to a check to ensure that a missing
container doesn't fail the build, however because the line fails due
to a missing container, everything breaks anyways.  Instead, properly
guard the condition.