all_models is a defaultdict, the lookup can't raise an error.