Fix EZP-23604: dont reuse session var when installing a different package