Properly handle `ember.js` -> `ember.debug.js`.

For reference: 

https://github.com/emberjs/ember.js/issues/9830
https://github.com/emberjs/ember.js/pull/9845