Prefer early `KeyError` to mysterious errors later
Prefer early `KeyError` to mysterious errors later

kobotoolbox/kpi,onaio/kpi,kobotoolbox/kpi,onaio/kpi,kobotoolbox/kpi,kobotoolbox/kpi,kobotoolbox/kpi,onaio/kpi,onaio/kpi