flatten: Fix undefined error, because node.minifiedSource sometimes can be undefined.
Bundle flattening logging fix

This fixes a problem that was occuring when flattening bundles. We were
passing in an array of bundle string names to name.getName, where
name.getName actually expects the bundle itself.
Merge pull request #63 from matthewp/multi-build-errors

Fixes for multi build errors