Fixed ENV var expansion.
Both var expansion and alias substitution do not need to be recursive.
The expansion at assignments already make sure the value shall be flat.