[RepositoryBootstrap] Refactor: The DB lock now depends on the dbName
(part of the Config.dbAlias)