logging: Base.close() should not log to the terminal.
logging: improve how repolist logs the total number of packages.