The language code be-x-old is an alias of be-tarask. Both may be used in wiki links inside dumps. The former code should be considered the same as the former when ingesting dumps.
Work to do:
After line 324, insert:
if lang_code == "be-x-old": lang_code = "be-tarask"