Rubocop error removed redundent else