Make init.templatedir work