Fix hostname so it works with VPC instances.

I had always thought it'd be more useful to show the public IP, but this
doesn't work for VPC instances, which only have a private IP.