Added check for undefined module
Merge pull request #1 from DamonOehlman/zero-deps-fix

Added check for undefined module