Update default.rb

remove the function about get rpm from other place