Bug 1020152 - Generate pre_installed_collections.json in build time.

where does `config.configPath` come from?