packager.sh: enhanced to support simultaneous multiple remotes retrieving the right value from the current branch