I got the algorithm wrong - it overwrites repositories only when used in the same path, not by recursion
The way OBS collapses repositories is different to what we did