Remove unnecessary mkdir check