Return from `measure_relay` when a helper is not found
After refactoring in #40041 (closed), it was forgotten to return the error in the case a helper was not found, what can happen in test networks.
After refactoring in #40041 (closed), it was forgotten to return the error in the case a helper was not found, what can happen in test networks.