Fixed behavior when uploads folder is missing