Update shellescape in _validateTaskVariables