check if an array has the key we want before using it. this fixes a PHP warning. see https://github.com/GigaOM/go-subscriptions/issues/37
lets check both array keys we want to use
Merge pull request #38 from wluo/github-37

check if an array has the key we want before using it. this fixes a PHP warning