Handle packages that don't have a 'main' attribute somewhat gracefully
Correct the path returned when a .bowerrc file is in use
Handle packages that don't have a component.json more gracefully.