changed ctx to args in run.main; default config['tasks'] to [] if NoneType

Signed-off-by: Andrew Schoen <aschoen@redhat.com>