You need to add the following line to the load function because only 1 path may exists per load/save.
unset($paths[0]);
That being said, I think you should look into the issue why it’s not loading from the other site, because this is the default behaviour and should work, so something is blocking it.