Fix: parseConfig did nto substitute the env variables for the first configuration