[SPARK-3706][PySpark] Replace environment variables used to customize execution of PySpark REPL