[Module][Installers][DoctrineInstaller]: Fixed `getAllClasses` when module have not source files.