tools: Use $PATH to determine location for phantomjs
tools: Use $PATH to determine location for phantomjs

Another place we want to use $PATH to determine the location of
phantomjs, in case it's installed to a home directory.

Closes #1233
Reviewed-by: Marius Vollmer <bb11c6e942c5cc765df5f04da146b3198127a7a3@redhat.com>

harishanand95/cockpit,netzvieh/cockpit,Scribery/cockpit,cockpituous/cockpit,maxamillion/cockpit,evol262/cockpit,sgallagher/cockpit,moolitayer/cockpit,petervo/cockpit,garrett/cockpit,vanloswang/cockpit,Armstrong1992/cockpit,stefwalter/cockpit,SotolitoLabs/cockpit,petervo/cockpit,cockpituous/cockpit,Thermionix/cockpit,moolitayer/cockpit,petervo/cockpit,Scribery/cockpit,andreasn/cockpit,jscotka/cockpit,larsu/cockpit,sub-mod/cockpit,jscotka/cockpit,netzvieh/cockpit,garrett/cockpit,deryni/cockpit,jscotka/cockpit,larskarlitski/cockpit,martinpitt/cockpit,petervo/cockpit,matobet/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,harishanand95/cockpit,firebitsbr/cockpit,cockpit-project/cockpit,Thermionix/cockpit,martinpitt/cockpit,arilivigni/cockpit,firebitsbr/cockpit,evol262/cockpit,cockpit-project/cockpit,kkaempf/cockpit,netzvieh/cockpit,moraleslazaro/cockpit,petervo/cockpit,vbatts/cockpit,matobet/cockpit,firebitsbr/cockpit,andreasn/cockpit,mvollmer/cockpit,andreasn/cockpit,andreasn/cockpit,FireDrunk/cockpit,mvollmer/cockpit,matobet/cockpit,Scribery/cockpit,sub-mod/cockpit,dperpeet/cockpit,cockpituous/cockpit,moolitayer/cockpit,haiyangd/cockpit_view,sgallagher/cockpit,mareklibra/cockpit,andreasn/cockpit,kkaempf/cockpit,evol262/cockpit,evol262/cockpit,dperpeet/cockpit,cockpituous/cockpit,jscotka/cockpit,stefwalter/cockpit,Scribery/cockpit,mareklibra/cockpit,vanloswang/cockpit,cockpit-project/cockpit,netzvieh/cockpit,Scribery/cockpit,larskarlitski/cockpit,mareklibra/cockpit,denysvitali/cockpit,nmav/cockpit,mareklibra/cockpit,sub-mod/cockpit,petervo/cockpit,nmav/cockpit,fridex/cockpit,vanloswang/cockpit,maxamillion/cockpit,zigitax/cockpit,xhad/cockpit,Armstrong1992/cockpit,vanloswang/cockpit,stefwalter/cockpit,denysvitali/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,denysvitali/cockpit,cockpituous/cockpit,xhad/cockpit,moraleslazaro/cockpit,SotolitoLabs/cockpit,kkaempf/cockpit,vbatts/cockpit,denysvitali/cockpit,SotolitoLabs/cockpit,moraleslazaro/cockpit,xhad/cockpit,haiyangd/cockpit_view,xhad/cockpit,Armstrong1992/cockpit,garrett/cockpit,sub-mod/cockpit,Thermionix/cockpit,moraleslazaro/cockpit,maxamillion/cockpit,darioajr/cockpit,FireDrunk/cockpit,zigitax/cockpit,matobet/cockpit,dperpeet/cockpit,nmav/cockpit,larsu/cockpit,michalskrivanek/cockpit,evol262/cockpit,matobet/cockpit,nmav/cockpit,vanloswang/cockpit,vanloswang/cockpit,petervo/cockpit,Armstrong1992/cockpit,vbatts/cockpit,cockpit-project/cockpit,stefwalter/cockpit,larsu/cockpit,mareklibra/cockpit,sgallagher/cockpit,michalskrivanek/cockpit,arilivigni/cockpit,haiyangd/cockpit_view,andreasn/cockpit,moraleslazaro/cockpit,fridex/cockpit,xhad/cockpit,Thermionix/cockpit,larsu/cockpit,xhad/cockpit,michalskrivanek/cockpit,jscotka/cockpit,larskarlitski/cockpit,Scribery/cockpit,michalskrivanek/cockpit,zigitax/cockpit,arilivigni/cockpit,Thermionix/cockpit,denysvitali/cockpit,larsu/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,moolitayer/cockpit,sgallagher/cockpit,deryni/cockpit,maxamillion/cockpit,zigitax/cockpit,mvollmer/cockpit,haiyangd/cockpit_view,martinpitt/cockpit,vbatts/cockpit,netzvieh/cockpit,andreasn/cockpit,larskarlitski/cockpit,stefwalter/cockpit,dperpeet/cockpit,arilivigni/cockpit,vbatts/cockpit,mvollmer/cockpit,fridex/cockpit,mareklibra/cockpit,firebitsbr/cockpit,cockpituous/cockpit,fridex/cockpit,dperpeet/cockpit,harishanand95/cockpit,Armstrong1992/cockpit,michalskrivanek/cockpit,SotolitoLabs/cockpit,Thermionix/cockpit,arilivigni/cockpit,zigitax/cockpit,evol262/cockpit,michalskrivanek/cockpit,martinpitt/cockpit,dperpeet/cockpit,haiyangd/cockpit_view,fridex/cockpit,deryni/cockpit,vbatts/cockpit,stefwalter/cockpit,martinpitt/cockpit,vanloswang/cockpit,matobet/cockpit,sgallagher/cockpit,harishanand95/cockpit,arilivigni/cockpit,xhad/cockpit,cockpit-project/cockpit,kkaempf/cockpit,michalskrivanek/cockpit,darioajr/cockpit,deryni/cockpit,mvollmer/cockpit,garrett/cockpit,harishanand95/cockpit,deryni/cockpit,darioajr/cockpit,SotolitoLabs/cockpit,larsu/cockpit,dperpeet/cockpit,netzvieh/cockpit,sgallagher/cockpit,garrett/cockpit,moolitayer/cockpit,sub-mod/cockpit,FireDrunk/cockpit,jscotka/cockpit,kkaempf/cockpit,deryni/cockpit,Scribery/cockpit,fridex/cockpit,arilivigni/cockpit,mareklibra/cockpit,darioajr/cockpit,maxamillion/cockpit,nmav/cockpit,larskarlitski/cockpit,sgallagher/cockpit,larskarlitski/cockpit,SotolitoLabs/cockpit,firebitsbr/cockpit,harishanand95/cockpit,FireDrunk/cockpit,deryni/cockpit,FireDrunk/cockpit,darioajr/cockpit