Fixes #4999: allow to install specific version of package with RPM

This does not make sense. The output from package_list_command is something like "NAME.ARCH VERSION-RELEASE".

However, the regexes you use to match such lines don't ever match a ".", but instead rely on spaces as separators... And they take the last field for the ARCH, even though it is the second, and the version as the second, etc... It looks like something here got messed up.