[#1845] check for the hooks directory directly
[#1845] check for the hooks directory directly

janiheikkinen/irods,janiheikkinen/irods,janiheikkinen/irods,leesab/irods,janiheikkinen/irods,leesab/irods,PaulVanSchayck/irods,PaulVanSchayck/irods,PaulVanSchayck/irods,janiheikkinen/irods,janiheikkinen/irods,PaulVanSchayck/irods,leesab/irods,PaulVanSchayck/irods,PaulVanSchayck/irods,leesab/irods,leesab/irods,PaulVanSchayck/irods,janiheikkinen/irods,PaulVanSchayck/irods,janiheikkinen/irods,janiheikkinen/irods,leesab/irods,leesab/irods,PaulVanSchayck/irods