Read the env file before figuring out USE_LONGNAME.
Merge bug26425