parse empty <location/> nodes correctly

was choking on nodes that have xmlns but no text
Merge pull request #4143 from dimagi/fix-empty-location

parse empty <location/> nodes correctly