Making sure requires argument is never undefined during module creation