[backend] adapt rebuildkiwiproduct code to partition case

It was forgotten when all the other places got adapted.