Simplify error message for unknown directive case