fix setup when the branch is not the default one
fix setup when the branch is not the default one

fix a bug introduced in https://github.com/Unitech/pm2-deploy/commit/832f725be480c608c19f51a56ed51d73a2986758
this fix the deploy setup when the branch is different from the default one

Unitech/pm2-deploy,Unitech/pm2-deploy