make getApiProductName a little more intelligent in apigeemgmt.js