Fix bug where ArtifactRef.toString() was causing an index miss trying to lookup by ProjectVersionRef.