Can you see if it's enough to just make this:
```
path unless path.include?("Library/ENV")
```