Add assertions for invoking --list when multiple profiles are defined in
a descriptor.
Variable refactoring for task-deploy(7).