Fix version_spec.rb to work with tag builds on travis-ci

MSP-10654