Refresh internal caches on repository enable/install
When the plugin enables or installs a repository or a remote, let it update also the internal caches, thus the data provided is accurate.
When the plugin enables or installs a repository or a remote, let it update also the internal caches, thus the data provided is accurate.