In Hydra CI environments, the version strings we get from Hydra don't necessarily match those hard-coded into the Cabal files. To make those builds succeed anyway, we have to apply some pattern matching.