COOK-3055 helper functions must be called in the proper context

Fix a regression from the original commit for actions other than :install.  Verified with `kitchen test` both to reproduce the original bug and the fix in this pull request.

The error without this fix is:

NoMethodError: undefined method 'unpack_command' for Chef::Resource::Execute