Fixes code in case of DD4hep, make more tests green
In particular in the configuration of the jobs, but also in the writing of alignment conditions
Note that DD4hep detector elements are still not supported yet, but the geometry using DetDesc in DD4hep mode now works normally