Fix //mix and improve normalize_nodename.