clone: Prevent segfault upon faulted remote creation
Merge pull request #1280 from nulltoken/fix/clone-segfault

clone: Prevent segfault upon faulted remote creation