ARIES-1148 - prevent a NPE ignoring files other than zip archives

this patch fix the NPE that happens when it tries to process directories or files that are not a bundle jar.