User should get error message on wrong config

closes #9501

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
Makes sense to check error here, this will add little coverage for your patch.