added empty check to servers/get_server_distro