github: Properly handle instance mids in projects that are not in the
workspace