Corrected logic in getEnvarName(String)
built project