Fix slowness on RHEL 8 by simplifying looping over pkgs (#3354)
Fix slowness on RHEL 8 by simplifying looping over pkgs (#3354)

* The code had an issue where it was looping over the dictionary updates
  that was being updated in another loop. So it was checking the
  beginning pkgs over and over each loop for updates which was
  un-necessary and caused the slowness. So I simplified the code down to
  the least amount of looping and variables.

Signed-off-by: Ryan Blakley <4a327043a305696607bd61d35aea19bf3b153200@redhat.com>
RedHatInsights/insights-core,RedHatInsights/insights-core