dir: Fix leak
dir: Fix leak

When recreating self->repo, also clear self->cache_dir, otherwise it was
leaking when we replaced it.

flatpak/flatpak,flatpak/flatpak,flatpak/flatpak,flatpak/flatpak,flatpak/flatpak