Check if the DPKG frontend is executable and fallback to apt-get if not.