Fix IndexError in jsonschema validation

Change-Id: I8c325770b11ed3c9257599c6fe0d734f0bbfb9ea
Closes-Bug: #1295509
Merge "Fix IndexError in jsonschema validation"