Also apply version quirks for the repo pkg's version.

Previously only the installed package's version string was quirked, and
we've managed to get away with this out of sheer luck.