Fix copy for checking that the repo is not a fork.

/cc @izuzak