Fix puppet version check.