Existence and uniqueness of maps into affine homogeneous spaces