Breaks if omit tag is missing

I didn't check if the omit attribute was there before asking for it's
value.  I added it on last minute and should have tested more
thoroughly. Sorry.