Improve logging of deploy hooks (OMS-510)