Turns out this .if evaluated not in the context of the makedtb target
sometimes due to Makefile expansion rules. Make the test for things
being NULL elsewhere...
Fix logic error. <blush>

Submitted by: ian@
Small cleanup: mostly whitespace vs. tabs.