[BZ-1024117] make KieBuilder to silently skip files out of the resources folder
(cherry picked from commit 75311e405d67491bb82dc7e5bcd0477823bdef64)