Incorrect error handling for reg_run in gfortran env
See for example https://gitlab.inria.fr/croco-ocean/croco/-/pipelines/961619
The reg_run_gfortran job is marked as successful even though it is not
@gcambon @rblod we have to look at it, no clue of why it happened for the moment