[connman] fix crash when trying to access NULL object
Merge pull request #44 from lpotter/18717

[connman] fix crash when trying to access NULL object