Fix system update issue in updateDaemon
Fix system update issue in updateDaemon

Due to a race condition, updateDaemon was not able to install system
when multiple new app is included in the system. This is addressed
here.

Change-Id: Icd5b22710f5ce672aaac41b94f2e7e4e6cf1340b
Resolves: LE-6446

legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af