diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise
index 5b435c02..8eda1de8 100755
--- a/src/freedombone-image-customise
+++ b/src/freedombone-image-customise
@@ -766,7 +766,7 @@ sed -i "s|host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-dae
 chroot "$rootdir" /bin/bash -x <<EOF
 git clone $PROJECT_REPO /root/$PROJECT_NAME
 cd /root/$PROJECT_NAME
-git checkout stockholm -b stockholm
+git checkout origin/stockholm -b stockholm
 make install
 EOF