joinPath fix for values like
_path
path_path
path_
path0path