Fixed issue when using backup repos.