Fix qtchooser resolving on fromMap

Task-number: QTCREATORBUG-9841

Change-Id: I5b41bc897fd0249887f0ab4d55383cd5c7545b22
Reviewed-by: Daniel Teske <daniel.teske@digia.com>