fix for --clean on nested directories