Avoid NPE when querying ROLE_OF with a invalid assignee.