Fallback to travis-ci.org if API call was unsuccessful

This addresses #9.
I've also improved the getNameWithOwner function.

Please feel free and comment below!