[BZ-1051493] avoid to try to build a KieBase if it declares an invalid include