Only default to index.js entry if it exists
1.6.1