resolving relative paths in PATH based on current working dir