Clear all the caches

Update to https://github.com/composer/composer/pull/3034 as per the comments to clear all the caches.
the message should contain which path does not exist -> use `$cachePath`