clone: Prevent segfault upon faulted remote creation
config: support trailing backslashes

Check whether the backslash at the end of the line is being escaped or
not so as not to consider it a continuation marker when it's e.g. a
Windows-style path.
Merge pull request #1280 from nulltoken/fix/clone-segfault

clone: Prevent segfault upon faulted remote creation
Merge pull request #1279 from carlosmn/config-trailing-backslash

config: support trailing backslashes