Update apigee.js

added no-name-specified error check