packager.sh: deps_list function bugfix