`first` is probably preferred to `[0]`. Also, this is probably a good candidate for extracting some code to method, to DRY https://github.com/thomasmckay/katello/blob/4261-actkey-releasever/app/models/katello/glue/candlepin/activation_key.rb#L42