Scan SLURM job exit-code bug (Fixes BUGZ-4081)
Begin arcbot message
This merge request is automatically copied from !1497 (merged) from branch https://source.coderefinery.org/nordugrid/arc/-/tree/bugz_4081 orginally made by @maikenp
End arcbot message
Fix wrong fetching of job info from slurm sacct for all type of jobs, cancelled and completed.
Fix mistake in message about retries.