adding fix for versions of npm that require a name field.