async def METHOD_NAME(self):
    """Remove a repository."""
    if self.lock.locked():
        _LOGGER.warning("There is already a task in progress")
        return
    if not self.path.is_dir():
        return
    await remove_folder(self.path)