Handle no groups case in /perms command

This happens when /perms is run from the console at a minimum.