[Ide] Fix NRE introduced by last commit