Fix bug wrt. Chef 10.x.x

See also [COOK-2234](https://tickets.opscode.com/browse/COOK-2234).

The altered check allows for using the cookbook with Chef 10.18.2 (and possibly further bugfix releases).

BTW thanks for your work.
Cheers, Stephan