diff --git a/build.sh b/build.sh
index cde69a81428d211da434527785f0779d757cde26..f39269d4aeb8d16ee70a8ef890edfd8215492430 100755
--- a/build.sh
+++ b/build.sh
@@ -39,6 +39,7 @@ if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de"  ]; then
 #	rm -rf $HOME/openfpm_dependencies/openfpm_pdata/$branch/PETSC
 	cd openfpm_vcluster
 	git stash
+	cd ..
 fi
 
 if [ x"$hostname" == x"falcon1" ]; then