Use relx vars in templates when relx.config is found
Do not crash on dpkg unicode output