Handle specific KeyError exception

This is useful because dataflow_dict() can raise exceptions.
Update zodb scripts.