clone: allow --local from a linked checkout