Fix #947: pick the correct site for cache-rebuild.