diff --git a/devlib/utils/ssh.py b/devlib/utils/ssh.py
index 57c366b..b497a9c 100644
--- a/devlib/utils/ssh.py
+++ b/devlib/utils/ssh.py
@@ -464,7 +464,7 @@ class SshConnection(SshConnectionBase):
         # inside the destination folder, rather than merging the trees.
         dst = os.path.join(
             dst,
-            os.path.basename(src),
+            os.path.basename(os.path.normpath(src)),
         )
         return cls._push_folder_internal(sftp, src, dst)