Workaround CHEF-3940 in homebrew provider

This should fix many issues for any homebrew apps under chef-solo