Fixed bugs in findEngineDeployment.pl