Don't export global var if amd succeeds.