JBIDE-17571 NPE when closing JBDS

Null-entries shouldn't be added into Include Path, so additional checks were added.

Signed-off-by: vrubezhny <vrubezhny@exadel.com>