avoid infinite recursion if there's a KeyError in a custom module naming scheme