Align tmpdir and deploy dir