Correct fix for --cleanDestinationDir flag
Correct fix for --cleanDestinationDir flag

Fixes #4246
Fixes #4248

gohugoio/hugo,anthonyfok/hugo,fedelibre/hugo,mdhender/hugo,fedelibre/hugo,mdhender/hugo,fedelibre/hugo,mdhender/hugo,fedelibre/hugo,anthonyfok/hugo,mdhender/hugo,gohugoio/hugo,anthonyfok/hugo,gohugoio/hugo