I think we need to check if the opening app is ftu's manifestURL. https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/ftu_launcher.js#L12

Yes homescreen is created 'after' ftu right now and I am not sure the sequence will change later.