r5888: fix incorrect test - don't print anything if user is not in any groups