Don't include target in generated XML twice

Signed-off-by: Ross Allan <rallanpcl@gmail.com>