HomeSoftware Heritage

Improve `origin_add` logic