Fixes #7 - Errors resolving path cause callback to be invoked more than once (reduce the scope of the "try" block)
Fixes #6 - Dependency key for require with custom dependency type collides with normal require