Using single if instead ternary operation in Registry::bindData()