Can you please improve the commit message and add a comment why this is needed? I. e. under which conditions does get_model() return None? Is that a valid secenario, or should get_model() always succeed, and thus the real bug already happens earlier?
Can you please improve the commit message and add a comment why this is needed? I. e. under which conditions does get_model() return None? Is that a valid secenario, or should get_model() always succeed, and thus the real bug already happens earlier?