AsyncTask: fixed incorrectly handled null result.