Fix bug blocking deployer to be lauched by cli. Fix bug for first pull