Replication - Potential fix for empty dirs