[backend] compare the scan time and not the building packages count when updating the mdload