Updates rakefile with reset_repositories task