Added missing raise statement when checking the config driver format

Closes-bug: #1275772

Change-Id: I636525d0272511d4192c43d18c56e867fb7514d8