Avoid 'title:parse error' with single quotes in $CMD
Fixes #2182
Adding latest fix from title_backticks branch (fix for #2182)