Fix Bug 881717 - Handle error conditions from MakeAPI

https://bugzilla.mozilla.org/show_bug.cgi?id=881717