[FLINK-1170] Fix faulty input split localization

Pass hostname to split assigner
Avoid clashes by only using the first component of the fully qualified hostname
Would add a null check here.