Fix installed version check
Fix installed version check

Current implementation does not correctly get a version of the installed Chef
on some platforms, such as CentOS 5.

Problem is that sudo result contains the blank line at the last,
and version is overwritten by the blank.

cgvarela/vagrant-omnibus,chef/vagrant-omnibus