[tor-commits] [fallback-scripts/master] script: improve bool env var conversion errors and default handling