Lookup and verify path.

def verify_path(self, mold_id_path):
        """
        Lookup and verify path.
        """

        try:
            path = self.lookup_path(mold_id_path)
            if not exists(path):
                raise KeyError
        except KeyError:
            raise_os_error(ENOENT)
        return path