diff --git a/templates/real-from-dwd-ana/prepare_date_local.sh b/templates/real-from-dwd-ana/prepare_date_local.sh
index ecbaa23ebc59a23072bd9707e40c80e4efd77bfc..6cca59fc26f481336001bc2f22564cf1a373ea61 100644
--- a/templates/real-from-dwd-ana/prepare_date_local.sh
+++ b/templates/real-from-dwd-ana/prepare_date_local.sh
@@ -35,7 +35,7 @@ if [ "${IS_LOCAL}" == "True" ]; then
 
 
   # Check if we copy the initial conditions from the local system or the remote one
-  if [ "${IS_LOCAL}" == "True" ]; then
+  if [ "${IS_LOCAL}" != "True" ]; then
     # Create member folder
     ssh "${HPCUSER}@${HPCHOST}" mkdir -p ${COMMON_DATE_FOLDER}