Throw error when PuppetDB file parsing fails.