HPCC-11768 Overnight build crashed with "AttributeError: 'Namespace'
object has no attribute 'target' " error.

Fix namespace error in list command.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
Merge pull request #6121 from AttilaVamos/HPCC-11768-fix

HPCC-11768 Overnight build crashed with "AttributeError: 'Namespace'

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>