Updating incorrect purl retrieval

It was returning a Relation object not a Purl object.