apt-get: exit with exit status 1

Same as for sudo (https://github.com/OpenELEC/OpenELEC.tv/pull/3466).