Fix deployment logic from git.