Added a new commit that fixes this and the same code in `lib/rubocop/cop/cop.rb`