Print error message when parsing invalid JSON.
Do not clear completion if cache-clean command was called with specific packages.