Put kind string in message instead of Directive object.
Merge pull request #1026 from reciprocity/feature/policy-error-msg-fix

Put kind string in message instead of Directive object. #64808606