Remove duplicates from loader directories.