I don't think that's exactly what happened here: the compromise created new tags but generally the tag consumption relies on semantic versioning
In other words: you specify version 44, the attacker creates 44.1, you're still hosed.
In other words: you specify version 44, the attacker creates 44.1, you're still hosed.