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