don't move a share mount point into a different mount point

fix for #8429 

Don't move a share mount point into another mount point.

cc @PVince81 @icewind1991 
I'm not convinced by introducing interfaces for everything, especially when a flag would do.
But I don't have time to look into the details now to see whether it makes sense.