Use the supported callbacks interface rather than trying to re-do the low level interface. As reported in https://github.com/JuliaPackaging/BinaryBuilder.jl/issues/1287, we currently try to error when attempting to clone a repository over ssh (either directly or via the insteadOf git setting), because we accidentally override the base callback to provide ssh credentials.
Use the supported callbacks interface rather than trying to re-do the low level interface. As reported in https://github.com/JuliaPackaging/BinaryBuilder.jl/issues/1287, we currently try to error when attempting to clone a repository over ssh (either directly or via the insteadOf git setting), because we accidentally override the base callback to provide ssh credentials.
Fixes https://github.com/JuliaPackaging/BinaryBuilder.jl/issues/1287