Remove tailing '.local' from hostnames.