Do not fail when required path resolves to undefined

Fixing an edge-case where a required path gets undefined. This can happen when you use https://github.com/hughsk/envify and have a condition like that in your code:

~~~ js
if (process.env.MY_MODULE_TO_LOAD) {
  require(process.env.MY_MODULE_TO_LOAD);
}
~~~