make 'gh clone' functional

One function in the module was the wrong one.