Fix LDAP group creation without config bug

Doesn't make a huge difference. If you tried to make a group without a
config set up, it would throw a NPE. Now it just tells you not a valid
group name. No real functional change.