Don't set a default value when there isn't a default specified

@kabum This should fix issue #4736

@DeepDiver1975 @blizzz @karlitschek