HomeSoftware Heritage

Reuse helper function from swh.loader.core