Update upstream_getter.py

minor changes