Fix Github remote key reading with PyGithub 1.23.0