1.0dev: avoid internal errors when a Git repository has an invalid path.
1.0dev: avoid internal errors when a Git repository has an invalid path.

Patch by Peter Suter on #10819.


git-svn-id: f68c6b3b1dcd5d00a2560c384475aaef3bc99487@11226 af82e41b-90c4-0310-8c96-b1721e28e2e2

dafrito/trac-mirror,dafrito/trac-mirror,dafrito/trac-mirror,dafrito/trac-mirror