Fixed issue with package management and warn.

Previously action_policy => warn would have no effect, and CFEngine
would go ahead and fix the problem anyway.

Fixes issue #1831.