Fix warning for taxonomy + use correct config data

Gave warning when a contentype doesn't have taxonomy setting.
Fix to use correct config data, not the passed in string parameter.