Made _get_rpms have less code
Made _get_rpms have less code

Also removed some debug-printing lines in xmlp

simon3z/image-scanner,baude/image-scanner,maxamillion/image-scanner,simon3z/image-scanner,baude/image-scanner,simon3z/image-scanner,maxamillion/image-scanner,maxamillion/image-scanner,baude/image-scanner