Fix handling of empty values for required list parameters.

  Fixes https://github.com/aws/aws-cli/issues/524.