do not use /app/app (via $1) in tmp_dir template