[migration] remove repo_connect and use config.repository() instead [applied]