Merge "Check LAST_KNOWN_CELL_IDENTITY only if network is registered." into main