do not dereference nil pointer when GetService returns nil

similar to issue in CC-155
https://github.com/control-center/serviced/pull/1041

avoid nil pointer dereference