Prevent use of nil value in dictionary by returning early and logging the issue
Prevent use of nil value in dictionary by returning early and logging the issue

Issue detected via static analysis

Feverup/braintree_ios,Feverup/braintree_ios,TeachersPayTeachers/braintree_ios,bytemarkinc/braintree_ios,bytemarkinc/braintree_ios,TeachersPayTeachers/braintree_ios,EverettQuebral/braintree_ios,billCTG/braintree_ios,EverettQuebral/braintree_ios,apascual/braintree_ios,braintree/braintree_ios,billCTG/braintree_ios,billCTG/braintree_ios,mickeyreiss/braintree_ios,Feverup/braintree_ios,TeachersPayTeachers/braintree_ios,billCTG/braintree_ios,mickeyreiss/braintree_ios,EverettQuebral/braintree_ios,bytemarkinc/braintree_ios,apascual/braintree_ios,apascual/braintree_ios,EverettQuebral/braintree_ios,braintree/braintree_ios,bytemarkinc/braintree_ios,apascual/braintree_ios,billCTG/braintree_ios,braintree/braintree_ios,Feverup/braintree_ios,mickeyreiss/braintree_ios,bytemarkinc/braintree_ios,mickeyreiss/braintree_ios,TeachersPayTeachers/braintree_ios,braintree/braintree_ios,TeachersPayTeachers/braintree_ios,EverettQuebral/braintree_ios