In lookup.py, fix the KeyError in get_code: when the name is not found the function should return None instead of raising. Do not change any other behavior.
