I took a look at the script source and included an alternate menu dialog which seems to work to overcome the challenge you observed
Modified script attached here for reference
For reference:
I observed that there were five items that your script looks for to make copies of
In my v1.5.0 Stellarmate build these 5 items did not exist:
'/home/stellarmate/.local/share/kstars/mycitydb.sqlite': No such file or directory
'/home/stellarmate/.config/pluma*': No such file or directory
'/home/stellarmate/.config/session*': No such file or directory
'/home/stellarmate/.local/share/kstars/wishlist.obslist': No such file or directory
'/home/stellarmate/.config/caja*': No such file or directory
Otherwise the script does appear to work as advertised to copy and zip the Stellarmate files that it finds