[defaults] [fix] if default value is None, do not add it in defaults cache