Prevent empty folder to be downloaded