fixed possible null pointer exception
Merge branch 'master' of github.com:mapbox/mapbox-android-sdk