Prevent KeyError in case of missing exception class