Add more checks in FaultHandler.

Make the code more robust when thinking it is dealing with an implicit
null check.

Test: test.py
Bug: 170587281
Change-Id: I5e1177377fb2dcee687a9f84693831f7d2de4b67
3 files changed