After reading the test, maybe: `&& (grunt.file.isFile(externalResolved) || grunt.file.isFile(path.join(externalResolved, '/index.js'))`