QA-5581 : fix get definition property type (issue when tries to get defintion from a type with no value set yet)