Make revision check compatible with cap-git-deploy gem.