Refactor Rpmmd repo parsing into a separate module