Fixed hook after_deploy in fact triggers before_deploy command