Fix add-new-model-like when model doesn't support all frameworks
# What does this PR do?

This fixes the `transformers-cli add-new-model-like` command when the model used as a model is not implemented in all frameworks.
_The documentation is not available anymore as the PR was closed or merged._