Merge fix-test-race-sys-argv [f=1677630] [r=free.ekanayaka,simpoir] [a=Eric Snow] his patch fixes a race condition in tests involving sys.argv.
Under certain load conditions there is a collision on patched-out sys.argv. To resolve this, we switch to using the config to store the bindir that should be used (rather than extrapolating from sys.argv[0]).