Added waiting for Replication process to archive resc in
putPackageToStorage