remove use of cwd to read symlink path
Merge pull request #170 from tsloughter/master

remove use of cwd to read symlink path