Fix broken after-install hook