Update method to give more specific object type. #59286658

Follow-up to [PR 854](https://github.com/reciprocity/ggrc-core/pull/854).  Per [story 59286658](https://www.pivotaltracker.com/story/show/59286658).  Error message was still giving "Directive" when directive slug is missing.