Added check for deployed machines

When the node is deployed it is in "Deployed" state,
which causes both assign_ips and deploy states to fail while
working out those nodes.

Change-Id: I8793f1ff6d57a32ae52c6ce208fa316d7106bb1c
1 file changed