update apport hook

Updated it for the distribution, just in case.