Honor warn-only when purging from local directory.

Fixes issue 2162.
Merge pull request #555 from kacfengine/issue-2162

Honor warn-only when purging from local directory.