Fix path template substitution for sysconfdir.