do not dereference nil pointer when GetService returns nil
Merge pull request #1042 from control-center/feature/CC-156

do not dereference nil pointer when GetService returns nil