diff --git a/tools/test_pr.py b/tools/test_pr.py
index 43ade2e..4ee9717 100755
--- a/tools/test_pr.py
+++ b/tools/test_pr.py
@@ -87,7 +87,7 @@ class TestRun(object):
         os.chdir(repodir)
         check_call(['git', 'checkout', 'master'])
         try :
-            check_call(['git', 'pull', ipy_repository, 'master'])
+            check_call(['git', 'pull', 'origin', 'master'])
         except CalledProcessError :
             check_call(['git', 'pull', ipy_http_repository, 'master'])
         os.chdir(basedir)