Only run a2enmod if packages installed