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>