check file extension when looking at package-declared "main"
Merge branch 'ubolonton-master'
1.1.0