[ABRT PATCH] fix ccpp hook to create the type element - closes #682