Fix skip_path logic if path part is empty
This was the case for the image client.
Change-Id: I5568bf6781ad57524c033868c2ab9f2ba4bb566d
diff --git a/tempest/auth.py b/tempest/auth.py
index 830dca9..bcf5776 100644
--- a/tempest/auth.py
+++ b/tempest/auth.py
@@ -321,7 +321,7 @@
if noversion_path != "":
path += "/" + noversion_path
_base_url = _base_url.replace(parts.path, path)
- if filters.get('skip_path', None) is not None:
+ if filters.get('skip_path', None) is not None and parts.path != '':
_base_url = _base_url.replace(parts.path, "/")
return _base_url