Fixed bug when facts.json is missing.