fixed a bug with the path, if none was there
Revert "fixed a bug with the path, if none was there"

This reverts commit 3ed53720a4ad381288e47674be8554565bdd4bfd.
...