knotserver: use local clones if repo is hosted on the same knot
detect the host to clone from and use a local clone if possible.Signed-off-by: oppiliappan <me@oppi.li>
authored by oppi.li and committed by Tangled 2 months ago e5ab72ca 31f4fe7e