added missing upstream param to push_repo_to_remote function