Fix repository.rb archive