Restructure the comparison method to remove excess logic
Restructure the comparison method to remove excess logic

Signed-off-by: Tom Duffield <96835dd8bfa718bd6447ccc87af89ae1675daeca@chef.io>

chef/omnitruck,chef/opscode-omnitruck,chef/opscode-omnitruck,chef/omnitruck,chef/opscode-omnitruck,chef/omnitruck