fix upload script null check
fix upload script null check

bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin