protect against an NPE seen in the logs (example involved a generic role with several errors).
1 file changed