'return a environment variables'

def get_env_var(self, key):

    results = (self.get(DeploymentConfig.env_path) or [])
    if (not results):
        return None
    for env_var in results:
        if (env_var['name'] == key):
            return env_var
    return None
