Fixed a bug with manifests containing multiple tasks.

There are apparently two different manifest syntaxes. One which is an array of
"task" element. One which has a tasks element containing an array of tasks.
This fix is to add support for the latter.