replayer: Crashes because of directories with duplicated entry names in journal
https://sentry.softwareheritage.org/organizations/swh/issues/104660/?referrer=phabricator_plugin
ValueError: swh:1:dir:96f959bba77e02a9161462a07a4e0f10c7fbfa3a has duplicated entry name: b'1'
(13 additional frame(s) were not displayed)
...
File "swh/storage/replay.py", line 118, in convert
obj = OBJECT_CONVERTERS[object_type](dict_repr)
File "swh/model/model.py", line 1194, in from_dict
return cls(
File "<attrs generated init swh.model.model.Directory>", line 6, in __init__
"""
File "attr/_make.py", line 2946, in __call__
v(inst, attr, value)
File "swh/model/model.py", line 1185, in check_entries
raise ValueError(
Migrated from T4668 (view on Phabricator)