BZ1066059 - Missing item in 'Included Knowledge Bases' causes NPE on new item creation
[BZ-1066059] avoid NPE in incremental compilation when try to rebuild a kbase never compiled before
(cherry picked from commit 5100cf1b85eb08fc618b2f9876c8aa3bc6a8fb11)