Allow `addon/index.js` 

This fixes #2094 .