Bug fix to task check_revision (git)