Issue #326 - Fixed unexpected NPE for Environment.getExternalStorageState()