Add missing conditional for refresh_db in aptpkg.mod_repo