Fix tests for dynamic repos.