copy-agent: Fix overlay.