Importing PIL and gi into a Snap

@rahul-tt It was considerate of you to post the answer. However I have long ago given up on Snap and have published the application as a Flatpak instead.