(ITS#6494) replication doesn't works if directory contains more than one tree