--rebuild-base also wipes all build layers
The base hash doesn't change when repo contents change (it's just
based on the image name), so old layers look like cache hits even
after the base is rebuilt. Wipe the entire os_dir when rebuilding
the base to ensure a clean slate.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>