Fix regression introduced in #1946 (#1950)

The change in #1946 introduced a regression such that it did not allow for Node.js zipped actions which contain an index.js but not a package.json. This is a valid configuration and should be supported.
1 file changed