[FIXED JENKINS-18995] sanitize command that include '^' character