remove all duplicates of local folders.