Raise error when trying to access github api returns error

Update repo info is silently failing if github api returns an error.