Fixes reporting the error when drivers have the same name

Resolves issue #25

Change-Id: I944800fc2da0018b5b3bb076d296c38126fe97bf