[DF] Snapshot friend branches also when a branch with same name exists
[DF] Snapshot friend branches also when a branch with same name exists

Fixes #7181.

root-mirror/root,olifre/root,olifre/root,olifre/root,olifre/root,root-mirror/root,olifre/root,root-mirror/root,root-mirror/root,olifre/root,root-mirror/root,olifre/root,root-mirror/root,olifre/root,root-mirror/root,root-mirror/root,root-mirror/root,root-mirror/root,olifre/root,olifre/root,olifre/root,root-mirror/root