[sr-dev] git:master:62e822ce: core: use same condition for extra_params in create_via_hf()