[FIX] Handle some other cases for package.json `main` entries.