Fix for PATH and bad install logic, added check for empty array on grep so installed? isn't always true
Made WebpiCmd.exe detection more robust
Merge pull request #9 from paulmooring/COOK-2298

[COOK-2298] Fix for PATH and bad install logic, added check for empty array on grep