hfsplus: prevent crash on exit from failed search