fixing small NPE. Packaging with dependencies.