Fix regression in apt module

This fixes a regression introduced in bd72e44. Resolves #7257.
Remove other kwargs checks that would cause tracebacks

We need to do better arg checking, but this is not the way to go about
it.
Merge pull request #7259 from terminalmage/issue7257

Fix regression in pkg.latest_version