uploadDir: handle source directory not existing error correctly
Release 3.1.1