Do not cache external project data.

Always retrieve it anew, as information about targets can change due
to building.

Change-Id: I7b15f8bc50f7b22ea1351e66b5a4b22ea83f34d1
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>