Potential NPE case fix
Potential NPE case fix

 Adding Null check  for  possible NPE Reported over crashlytics and
some other unit tests

BranchMetrics/android-branch-deep-linking,BranchMetrics/Android-Deferred-Deep-Linking-SDK,BranchMetrics/Android-Deferred-Deep-Linking-SDK,BranchMetrics/Android-Deferred-Deep-Linking-SDK,BranchMetrics/android-branch-deep-linking,BranchMetrics/Android-Deferred-Deep-Linking-SDK,BranchMetrics/android-branch-deep-linking,BranchMetrics/android-branch-deep-linking