Don't add local repo if the packages are not installed