Changed SnapshotMeta.latest to take a Repository instead of a Reference