Tests: fix exiting of inner loops
Tests: fix exiting of inner loops

The source_id variable is checked immediately after the main loop terminates;
therefore, set it earlier.


Distrotech/libaccounts-glib,Distrotech/libaccounts-glib,Distrotech/libaccounts-glib,Distrotech/libaccounts-glib