Updating var syntax.
Adding non-empty check.
Merge pull request #942 from edx/e0d/notifier-vars

E0d/notifier vars