Fixes #651, do not detect nested dependencies inside a UMD wrapper
snapshot