Fixed bug when not-existing project was opened.