Fix apt 1.1 regression in apt-preferences handling