I would go with the more idiomatic memoization here:

```ruby
config ||= new(alternate_path)
```