software/theia: Refactor and fix keytar rpath

See merge request !1103
3 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds