DRY switcher

big improvement from F to A :+1: 
https://codeclimate.com/github/yast/yast-bootloader/compare/switcher_cleanup