Rather than "can't be null", the real error from the user's perspective is that the machine was unknown presumably? It's good to think from the user's perspective when giving these error messages.