Fixes autosense failing when using a cmsRun config that uses VarParsing.
VarParsing expects the pset name to be in the list of sys.argv (actually it just looks for any element ending in .py) and will fail if the pset is not found. So I added the pset name back to the list of sys.argv as well as included 'cmsRun' in order to be consistent with the way VarParsing gets used.
Fixes autosense failing when using a cmsRun config that uses VarParsing.
VarParsing expects the pset name to be in the list of sys.argv (actually it just looks for any element ending in .py) and will fail if the pset is not found. So I added the pset name back to the list of sys.argv as well as included 'cmsRun' in order to be consistent with the way VarParsing gets used.