fixing bug #5436
if form for archive is not defined, all files of folder are attached to publication