See #15 under Village dimension for the reason.
Abandoned, undead or similarly hostile village world generations are fine. Just so long as no villagers spawn in any other dimension. This includes ones such as wandering traders and the whatever-the-doctor's-name from Rats.