When cloning, if clone is aborted or unsuccessful, rh leaves the repository folder. On subsequent call to rh with the same arguments, it opens the folder which doesn't contain any git repository. Best to remove the folder if operation doesn't succeed.