The problem was that the temporary file was written to a folder which is not per-Virtual System, so all Virtual Systems used the same file.
In some cases it may cause files of different Virtual Systems to overwrite one another, since install policy of all Virtual Systems runs in parallel.