fix hasProperty check returning null on local build
fix hasProperty check returning null on local build

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