COOK-2257: Use node[ipaddress] if the cloud IP isn't valid

Workaround for problems caused by OHAI-387