Fixes #4710, #2270 - Wait for VM to become ready before looking for IPs