handling the case where conf val is undefined

Better fix for #4861
Discussion at #4877