Fix bug. Make sure apache2 is installed before attempting to remove default sites enabled conf.