Support VERSION_REVTYPE git builds on cleanup_checkout.sh