fix repo missing remote and revision