Get storage engine from environment.