In the previous implementation, tests would occasionally fail since the original install directory was deleted.