Fix GCP-6428 when a last opened project is used instead of currently selected project