update_git_source_package.sh: misc fixes