Fixed issue where the package will not be downloaded if the package folder exists, but is empty.