Avoid 'title:parse error' with single quotes in $CMD
Fixes #2182