[fit] Fix crash when fit fails

Authored by sgerlach on May 16 2020, 8:55 AM.