Get rid of unnecessary variable in rake tasks