Fix fetch_object use of determine_wants. Fix repo.get_refs() - there might not be...