[Github] Introduce support for detection of repo ids only if needed