sakaiProxy: prevent null pointer exception on getting user type