handle dead symlink without crashing