Previously a rebuild was happenning because FileNotFoundException was thrown when getting psiFile of removed file. Original commit: ee94a64718
ee94a64718