Throw error if github credentials bad