apt_repository: Check if key already exists before trying to add it for a speed increase
Merge pull request #8544 from Tenzer/faster-apt_repository

apt_repository: Check if key already exists before adding it