Fix a variable check in apt-get-wrapper