Cleaning only source_dir or install_dir depending on the situation