What does it mean if context is None in this case? Will this ever happen? Should there be an else clause with an exception or a warning?