fix #16: newly-cloned repository reports incorrect status