Make sure there is an IP before checking host availability