Some really don't like this approach (I do, just for the record). As here the KeyError exception is specific and would hardly happen for any other reason than 'AUTOTEST_HARNESS_ARGS' not being present, so yeah, good suggestion.