Teach Checkout() to cope with revparse extended syntax leading to references