Fix yumpkg*.mod_repo

The kwargs are used to determine which values to assign to the repo
file, but additional "hidden" kwargs are passed to these functions, ones
with keys starting with a double underscore. This commit filters those
arguments out so that they don't get written to the repo file.
Merge pull request #7800 from terminalmage/issue7656

Fix yumpkg*.mod_repo