diff --git a/roles/dbscripts/tasks/main.yml b/roles/dbscripts/tasks/main.yml
index 92bbc0bb38ce0dafcda0e50197eff38da7e90de5..efe1df7c79444482a554c2f0b32142c1a8b924cb 100644
--- a/roles/dbscripts/tasks/main.yml
+++ b/roles/dbscripts/tasks/main.yml
@@ -265,7 +265,9 @@
 
 # The following command also serves as a way to get the data the first time the repo is set up
 - name: configure svntogit pull upstream branch
-  command: git pull public master chdir=/srv/svntogit/repos/{{ item }}
+  command: git pull --set-upstream public master chdir=/srv/svntogit/repos/{{ item }}
+  environment:
+    - SHELL: /bin/bash
   with_items:
     - community
     - packages