In YAML, define Geonetwork group by name, not id; in Geonetwork, set group id on initialize.