ck86/gulp-bower-files — pull request #12 by chrisbateskeegan (2014-02-12 21:59:50+00:00)
Title: Can't override main when no main is specified in source bower.json

Because the exception is thrown on the basis of the contents of the original bower.json without consideration of the overrides config.

By checking dependencyConfig.main prior to throwing the exception we can proceed safely.