Fix uploading an empty folder (WEB-INF)