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.