This whole thing just seems wrong to me. Nuget should be on the path if it is installed in that location. So there should not be a need to go looking for it in any folder.