FALCON-496 Feed Replication with Empty Directories giving error. Contributed by pavan kumar kolamuri