Prevent empty InputStreams being passed to KieBuilder