Issue 3415 save the last pushed environments in session