Fix bug 1088347 "should not allow group name containing '-' when creating a cluster with a cluster spec".