Fixing NPE when creating debian package version