get sparkhome from sparkconf Preferentially