modules.yumpkg: rm unnecessary uses of dict.keys()