Fix NPE when no Scala files have been found