Simpler version of magit-decode-git-path

Given that emacs can read strings, there is no need for the manual
decoding introduced by commit 68b3317.