make the pm a tmp dir of its own