Fixing bug where  tried to use the homebrew provider on OSX and didn't correctly check for lack of homebrew-specific attribute on the resource

https://github.com/opscode/chef/issues/2214

@opscode/client-engineers Could I get a review on this?