Minor refactor in logic that assembles the artifacts for a dependency edge.