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