auto_update: Fix installer temp dirs leaking on macOS (#60528)