function getVariable(name) {
    var varval = process.env[name.replace(/\./g, '_').toUpperCase()];
    debug(name + '=' + varval);
    var mocked = mock.getResponse('getVariable', name);
    return mocked || varval;
}