Return a relative version of the workdir

def relworkdir(self):
        """Return a relative version of the workdir"""
        if getattr(self, "workdir", None) is None:
            return None
        try:
            return os.path.relpath(self.workdir)
        except OSError:
            # current working directory may not be defined!
            return self.workdir