Added missing raise statement when checking the config driver format

Change-Id: I636525d0272511d4192c43d18c56e867fb7514d8