In some VPC cases meta-data/public-hostname returns blanks. Account for these cases.