bliss1.11: Fix undefined 'result' var
The result
var is potentially not defined.
This PR use a fallback default value + a error message.
It was failing at BM18 at some point, and and restart to work on it's own. I expect it to be a transitive state, which anyway could happen during a beamline upgrade.