Fix typo in setup script leading to improper behavior.
Escape input of mini-templating system before passing it to sed.