Ensure hostnames are unqualified.