Don't crash when unitsync returns NULL.