libqtprofilesetup: Fix usage of undefined variable.

Undetected so far, as it hits only in a very specific code flow.

Change-Id: Icdb63e3a07ec0114756bf2869395f27db565e174
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>