prevent add observer for nil object.
Merge pull request #2 from Applexis/lightmail

Prevent add observer for `nil` object.