[test][execution] Move conda related helper out of class

That will make them re-usable in other tests like
in beat/beat.cmdline>
8 jobs for test_execution_extract_helper_methods in 54 minutes and 53 seconds (queued for 7 seconds)