BatchUplader: fix for permission checking

* Corrects bug in batchupload permission checking.
  (closes #1747) (PR #1748)

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>