wrong dependencies management in packager.sh script