Revert "Fix web app GApplication ID calculation"
This reverts commit 708b35be.
It turns out this part of the function is unreachable when the id is just a checksum, because in that case g_application_id_is_valid() will always be true so the function returns just a few lines above.
(Sorry for the noise)