Fix null pointer for an edge case
Fix null pointer for an edge case

Taracque/cordova-plugin-braintree,Justin-Credible/cordova-plugin-braintree,LudwigEnglbrecht/cordova-plugin-braintree_new,Taracque/cordova-plugin-braintree,btafel/cordova-plugin-braintree,LudwigEnglbrecht/cordova-plugin-braintree_new,Taracque/cordova-plugin-braintree,btafel/cordova-plugin-braintree,LudwigEnglbrecht/cordova-plugin-braintree_new,btafel/cordova-plugin-braintree,Justin-Credible/cordova-plugin-braintree,Taracque/cordova-plugin-braintree,Justin-Credible/cordova-plugin-braintree