validate multiGlob’s input.

This provides a useful error message if a non-array is passed to multiGlob