Fix log bug for clean repository