Using unique IDs while calling rpmcopy_secondstage

- The same pull request has been already created for SP2 and Factory