Use the checkout_path for getting the commit oid
#956
Merged
checkout_path for getting the commit oid
#956