Validate top level of the layout configuration, too

I got an exception that a list object has no method "get" when I
accidentally put the contents of my pipelines as the top level object in
the layout YAML file.

Change-Id: Ia88f2a849bbc1dca5ec44afc969ddfa9c3598f1e
1 file changed