Fix so getPath will create paths in the default root if not already existing