Fix the unless for test cases on ensure_package and ensure_resource

Conflicts:
	spec/acceptance/ensure_packages_spec.rb
	spec/acceptance/ensure_resource_spec.rb