LPS-34959 Don't try to get groups that don't exist