[spec] Fix broken local.build spec after dupilicate event.