diff --git a/templates/config.yaml.j2 b/templates/config.yaml.j2
index 3186e9162f1ec46de2117e2f09560cb0c79e29e9..85045663d6fa34c1956c757d53c724fe72b2684f 100644
--- a/templates/config.yaml.j2
+++ b/templates/config.yaml.j2
@@ -11,7 +11,7 @@ location:
 
   # Paths to local or remote repositories.
   repositories:
-  - "ssh://{{ borgbackup_target_user }}@{{ borgbackup_target_ip }}:/{{ borgbackup_repo_path }}"
+  - "ssh://{{ borgbackup_target_user }}@{{ borgbackup_target_ip }}/.//{{ borgbackup_repo_path }}"
 
   exclude_patterns:
   {% for item in borgbackup_exclude_dirs %}