Ok, would my original patch for it count as a safer way? It uses internal tramp function, as discussed before, but the change itself is local to vc-git.
-- Best Regards, Nikolay Kudryavtsev