git-clone: print an error message when trying to clone empty repo