Yes, but we weren't cloning it to a new object, so both the mod emitted here, and the mod used later to walk the dependencies were still the same mod.deps.

Now the version emitted is a different object than the local reference.