Handling cloning into an empty directory