Fix null return in updateIndex.
Merge pull request #2159 from dart-lang/fix_update_index

Fix null return in updateIndex.