Target spaces from chiral gauge theories