fix hook install warning

resolved a problem where 3rd party hooks would cause a php warning
because their config contained no url.