Raise human-readable exception if workflow_name is not a dict

Closes-bug: #1378791

Change-Id: Ib6814475b9a854423daf53767afd7e9f5175780a