Using unique IDs while calling rpmcopy_secondstage

- SP2
- bnc#813072