When "moving" the new node group to the same library as the object, its original name has to be cleared from the name-map as well. That's because there is a separate name-map for each library. I had this in the original PR, but incorrectly removed this because I thought it was unnecessary. Pull Request: https://projects.blender.org/blender/blender/pulls/119747