`loaded_base_name` and `mod_type_check` default to `None` and in that case, to what's defined for salt.