def __str__(self):
        return "".join([self.package, self.version or ""])
def abs(self, f):
        """Convert a repo path back to path that is relative to the root of the
        matcher."""
        return f