Fix a NPE with /perm listgroups