Set cache_path to plugin_path if not set.