change url from repository ref to source repository