Remove duplicated directory.