As described in issue #431, added extra message when directory to clone to already exists,
and if there is an incomplete checkout, remove the cloned directory and add an additional error message.
It only removes directory in incomplete checkout command if the custom PayuBranchError is raised. I didn't make it general as there could be errors post-checkout like config.yaml not existing - In this case no metadata is created.
As described in issue #431, added extra message when directory to clone to already exists, and if there is an incomplete checkout, remove the cloned directory and add an additional error message.
It only removes directory in incomplete checkout command if the custom PayuBranchError is raised. I didn't make it general as there could be errors post-checkout like config.yaml not existing - In this case no metadata is created.
Closes #431