Fix issue with lowercased hostname