Fix working copy path, rstrip takes an alphabet to strip

Fix working copy path, rstrip takes and alphabet to strip, not a string used in whole.

Consider the repo ttttttt, rstrip reduces this to the empty string.