see also https://github.com/reframe-hpc/reframe/pull/3581
see also reframe-hpc/reframe#3581