apache: Fixed yesterdays change to apache hook handling