fixed operatingsystemmajrelease undef error by parsing the operatingsystemrelease fact