handle the case where npm install has a postinstall bower install hook