more accurate checking for bonding provider

Change-Id: I7386f74790e15a9bf99018db6d263b37f67b2ee1
Closes-bug: #1318996
Merge "more accurate checking for bonding provider"