Fixed executor side Spark home, also commented the "basename" trick