pagerank: get spark home from env variable