Using hostname from metadata server if available