[SOLVED]
The problem was in the veeam backup DB for a previously deleted repository but the DB
still recognized it as valid.
Select * from [backupRepositories]
Select * from [backup.model.backups]
where job_name = 'Name phantom repository'
Everything related to the phantom repository must be removed.