Handle unknown users/groups properly for print_user, print_group, and error translation