Splitting execute_system to smaller pieces for better diagnostics in TESTSUITE.RQ