I don't have any know-how on the installer framework, but have you tried a tmp path for the target to see if it could be a path problem?

Cheers,
_

P.S.: $HOME/.local/share is the fallback default value if $XDG_DATA_HOME is not set, so you could end up with a wrong path on systems where that is set to something else