OpenPype: tools/create_zip.ps1 --path flag fails with TypeError: Path must be str or Path
 
The `OpenPype/tools/create_zip.py` tool fails with the `--path` flag:

Error
```python
Traceback (most recent call last):
  File "S:\\openpype\\OpenPype\\tools\\create_zip.py", line 66, in <module>
    main()
  File "S:\\openpype\\OpenPype\\.venv\\lib\\site-packages\\click\\core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "S:\\openpype\\OpenPype\\.venv\\lib\\site-packages\\click\\core.py", line 782, in main
    rv = self.invoke(ctx)
  File "S:\\openpype\\OpenPype\\.venv\\lib\\site-packages\\click\\core.py", line 1236, in invoke
    return Command.invoke(self, ctx)
  File "S:\\openpype\\OpenPype\\.venv\\lib\\site-packages\\click\\core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "S:\\openpype\\OpenPype\\.venv\\lib\\site-packages\\click\\core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "S:\\openpype\\OpenPype\\tools\\create_zip.py", line 37, in main
    repo_file = bs.create_version_from_live_code()
  File "S:\\openpype\\OpenPype\\igniter\\bootstrap_repos.py", line 387, in create_version_from_live_code
    return OpenPypeVersion(version=version, path=destination)
  File "S:\\openpype\\OpenPype\\igniter\\bootstrap_repos.py", line 104, in __init__
    raise TypeError("Path must be str or Path")
TypeError: Path must be str or Path
```


[cuID:OP-2255]
diff --git a/igniter/bootstrap_repos.py b/igniter/bootstrap_repos.py
index db62cbbe91..637f821366 100644
--- a/igniter/bootstrap_repos.py
+++ b/igniter/bootstrap_repos.py
@@ -762,7 +762,7 @@ class BootstrapRepos:
 
             destination = self._move_zip_to_data_dir(temp_zip)
 
-        return OpenPypeVersion(version=version, path=destination)
+        return OpenPypeVersion(version=version, path=Path(destination))
 
     def _move_zip_to_data_dir(self, zip_file) -> Union[None, Path]:
         """Move zip with OpenPype version to user data directory.
diff --git a/tools/create_zip.py b/tools/create_zip.py
index 32a4d27e8b..2fc351469a 100644
--- a/tools/create_zip.py
+++ b/tools/create_zip.py
@@ -31,7 +31,9 @@ def main(path):
     bs = bootstrap_repos.BootstrapRepos(progress_callback=progress)
     if path:
         out_path = Path(path)
-        bs.data_dir = out_path.parent
+        bs.data_dir = out_path
+        if out_path.is_file():
+            bs.data_dir = out_path.parent
 
     _print(f"Creating zip in {bs.data_dir} ...")
     repo_file = bs.create_version_from_live_code()
['igniter/bootstrap_repos.py', 'tools/create_zip.py']