Isolate variable inside the promise chain
Merge pull request #645 from stellar/isolate-registration-variables

Isolate variable inside the promise chain