Fixes issue where the text plugin does not honour 'empty:' config baths ...

...when building using r.js

References the r.js issue #493 (https://github.com/jrburke/r.js/issues/493). User who reported that issue has not created the issue on the text repository.