Refs #6. Check for the commit sha before determining its already stored.