Make refresh_db conditional in the aptpkg module

aptpkg.mod_repo will call refresh_db when a repo is added, so it's
unnecessary for pkgrepo.manage to call refresh_db as well.