Use `||=` instead of `unless`

My first ever Ruby PR. :octocat: