Deployment: correctly upload empty directories