Fix for empty <host> tag. Patch from Erik Edelmann <edelmann@csc.fi>
Fixes #1 Problem with long running, large jobs