IDEX-1054: fix refreshing root of the project.