Fixes issue with hook installation after a reload command.

leftover? shouldn't this depend on the version or something?