Clean up the cache of metadata when upgrading OPAM.