If you query for the records that contain null in that field, then run the dissolve, it will be run only on the records that aren't null. If you still need the records with null, save the results of the query to its own layer and merge it with the dissolve results