fixes #21, handle bad main in component bower.json