Handle missing plugin name

Handles the case when a Cordova plug-in does not properly define a name