Don't error if module has no parameters

E.g. query prop=flowinfo gets actionInfo.parameters is undefined from
UiBuilder.js.  This fixes the problem for me locally.

Change-Id: Idaad922635af8a5ffc6fda79e5109117114bc6d9