fix broken symlink error

fix Errno::ENOENT by broken symlink file.