Make copy job work with shadow-building