export.js: Fix `exports` being `null`