Add repository:bare() and :references()