beanstalkd's version numbers aren't necessarily semver-compliant.
Hack off the last dot clause if it has too many.