Why not let the exception raise? If something calls a function called `get_course()`, and there is no course to get, I would expect the function to raise an exception, not to return None.