Fix upload ls --unindexed command

Closes #2573 (closed)

We have a command called integrity which did pretty much the same thing, so the code snippet is mostly copied from there.

Merge request reports

Loading