Give correct messages when importing/updating a hook

This should fix #34