Is `Pathname#exist?` what you want here?

I think you might want to resolve the symlink with `Pathname#realpath` then check if _that_ exists:

```ruby
  unless symlink.realpath.exist?
```