[#1191] Stop getPermissions from creating blank groups.