Install and remove packages in batches of 500 to avoid an overflow of
the command line.
Merge pull request #7510 from olenz/develop

Handling of long package lists for zypper