Bug fixing: source updates when using --locale and --types together failed