MB-100: fix calling generator as list

Change-Id: I5a95ff130012b032e337bad1a58dd07b5b5cd795
Reviewed-on: http://review.couchbase.org/25434
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Tested-by: Pavel Paulau <pavel.paulau@gmail.com>