Fix syncqt run logic for extra modules

extended test construct for if statement added

Change-Id: I6babf162a6548a84bf196639e022a92c4c345659
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>