New API: inspect-get-hostname to return the hostname of the guest.