Revert "Fixed typo in sync_folders"

This reverts commit 493f2c998438efa19782f3218ccf79773aeb126f.
Revert "Sync folder change . Allows rsync if there are remote files present"

This reverts commit 28d7fc51701ae041efeff73c52dee648f3e07eae.