Don't put loading results to system cache if exceptions happened.

Test: Manual smoke tests. Automatic tests pass.

Bug: 34405495
Change-Id: If8ce36ce38eef840655be84438856ca12187c393
(cherry picked from commit 51b8ca37126b63cb5e4c9fe4a8f092c104290486)
1 file changed