bug fix in set_upstream (the output of the git cmd changed in the new version)