To really get a number, use $operatingsystemmajrelease

Fixes deploy on CentOS 7