Fixes bug on parsing mirror_name parameter

Change-Id: I2fd9fa6f96a2cc5f3b219863eaf7b04e7ef362db
diff --git a/trsync/cmd/cli.py b/trsync/cmd/cli.py
index 25fff0d..e120409 100644
--- a/trsync/cmd/cli.py
+++ b/trsync/cmd/cli.py
@@ -73,7 +73,7 @@
     def take_action(self, parsed_args):
         properties = vars(parsed_args)
         source_dir = properties.pop('source', None)
-        mirror_name = properties.pop('mirror_name', None)
+        mirror_name = properties.pop('mirror_name', None).strip('/')
         symlinks = properties.pop('symlinks', None)
         servers = properties.pop('dest', None)
         if properties['extra'].startswith('\\'):
diff --git a/trsync/cmd/trsync_push.py b/trsync/cmd/trsync_push.py
index abf7e91..fd70bb0 100755
--- a/trsync/cmd/trsync_push.py
+++ b/trsync/cmd/trsync_push.py
@@ -81,7 +81,7 @@
     options = parser.parse_args()
     properties = vars(options)
     source_dir = properties.pop('source', None)
-    mirror_name = properties.pop('mirror_name', None)
+    mirror_name = properties.pop('mirror_name', None).strip('/')
     symlinks = properties.pop('symlinks', None)
     servers = properties.pop('dest', None)
     if properties['extra'].startswith('\\'):