bug fix

the regex in addNamespaceExports() sometimes will return null, and you
can't call .map() on null