If you look earlier, you have this code:

```
-      opts = {}
 -      opts[:no_post] = true if ENV['NO_POST']
 -      opts[:force] = true if ENV['FORCE']
 -      opts[:file] = ENV['FILE'] if ENV['FILE']
 -
 -      # when running deploy:migrations, we need to run config against release_path
 -      opts[:deploy_path] = current_release if fetch(:migrate_target, :current).to_sym == :latest
```

`opts` and `opts[:deploy_path]` can never be set by the user from outside, its a purely an internal variable. So my code here is equivalent, I've just eliminated the confusingly-named internal `opts` variable.