Fixed issue when using custom RequireJS loader

I ran into a problem that ```exports``` variable was defined but ```module``` wasn't when using a customized RequireJS loader (https://github.com/zaggino/brackets-git/issues/7). This fixes that.