Use NULL instead of empty strings for name2 in the icinga_objects table

fixes #6646