builtin/clone: allow remote helpers to detect repo