Fix for a failing API test in buildbot.

Just noticed these are actually running tonight, that is good news.