Doing a sudo rm -r .* in var/lib/flatpak/appstream/flathub/aarch64 works too, and it is somewhat less drastic.