Target: Fix loading of multiple deploy configurations of the same kind

Task-number: QTCREATORBUG-10923

Change-Id: I3ae4961225604d51864cf78f0e633c82e55aa2d8
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>