Load cfg params conditionally

Some datastores don't support config groups so this should be
conditional.

Also, tightened search by version name.

Change-Id: I2b37ce2e30c2e23b8291cd65c883fd2caadabdad
Closes-Bug: #1366939
Merge "Load cfg params conditionally"