The key is always null and thus localhost is always used no matter way. This correction lets users specify the apt-cacher host.