Custom option parameters should check for valid configuration.

This caused a problem when using vm creation command without configuration,
displaying an error about invalid datacenter value.