Better errorhandling on looking up servicegroups

Affects #58