Modified cleancov script to verify whether the directory to be cleaned exists