Tgr added a subscriber: Tgr. Tgr added a comment.
So to rephrase the task in positive terms, you want to be able to retrieve an API endpoint for the site to which the file repo is local?
TASK DETAIL https://phabricator.wikimedia.org/T85153
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Tgr Cc: Aklapper, XZise, Anomie, jayvdb, Tgr, Legoktm, pywikipedia-bugs