latest dist should have precedence if there's a dist without a dist version (fixes #45)