[webui] fix repository_state and rebuild_time