fixes #26718 A virtual package may or may not have a version, but it never has more than one. Previously we were missing a rule for that.