Simplify flatpak installation set up
Don't create an object just to destroy it when we already have the means to do it properly.