Fixed bug where download folder was being checked for empty wrongly