Fixes requirements involving magic exports req.

 - Fixing incorrect spec when requiring modules using exports.
 - Fixing export dependencies overwriting subsequent dependencies